<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>flex弹性布局</title>
    <style>
        .html{
            font-size: 10px;
        }
        .container{
            background-color: aqua;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            height: 40rem;
            /* justify-content: space-evenly; */
            /* align-items: stretch; */
            align-content: flex-end;
        }
        .li{
            width: 20rem;
            font-size: 8rem;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="li" style="background-color: aquamarine;">1</div>
        <div class="li" style="background-color:antiquewhite;">2</div>
        <div class="li" style="background-color: blue;">3</div>
        <div class="li" style="background-color: blueviolet;">4</div>
        <div class="li" style="background-color: brown;">5</div>
        <div class="li" style="background-color: pink;">6</div>
    </div>
</body>
</html>